<?php
/* @var $this CarPricesController */
/* @var $model CarPrices */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'car-prices-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'car_type'); ?>
		<?php echo $form->textField($model,'car_type',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'car_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'car_name'); ?>
		<?php echo $form->textField($model,'car_name',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'car_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dong_co'); ?>
		<?php echo $form->textField($model,'dong_co',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'dong_co'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hop_so'); ?>
		<?php echo $form->textField($model,'hop_so',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'hop_so'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cong_suat'); ?>
		<?php echo $form->textField($model,'cong_suat',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'cong_suat'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'momen_xoan'); ?>
		<?php echo $form->textField($model,'momen_xoan',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'momen_xoan'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'price'); ?>
		<?php echo $form->textField($model,'price',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'price'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->